package com.tfjybj.itoo.exam.provider.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tfjybj.itoo.exam.entity.TemplateDetailsCustomEntity;
import com.tfjybj.itoo.exam.model.TemplateDetailsModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * TemplateDetailsCustomDao接口
 * templateDetailsCustom表
 *
 * @author 任晓帅
 * @version 2.0.0
 * @since 2.0.0 2018-11-15 19:40:28
 */
@Repository("templateDetailsCustomDao")
public interface TemplateDetailsCustomDao extends BaseMapper<TemplateDetailsCustomEntity> {
	
	//region 模板生成：模糊查询
	/**
     * 根据试题分类id模糊查询templateDetailsCustom
     *
     * @param questionClassifyId  试题分类id
     * @return 模糊查询的templateDetailsCustom集合
     * @author 任晓帅
     * @since 2.0.0 2018-11-15 19:40:28
     */
    List<TemplateDetailsCustomEntity> queryLikeQuestionClassifyId(@Param("questionClassifyId") String questionClassifyId);


    //endregion

    /* **********************************以下为非模板生成的内容********************************* */

    List<TemplateDetailsCustomEntity> findByDetailsId(@Param("templateDetailsId") String templateDetailsId);
//    蒙蒙临时用
     List<TemplateDetailsModel> queryTemDeCustomByTemDetailsId(@Param("templateDetailsId") String templateDetailsId);
}
